<template>
    <div class="page-box">
			<dataList
				placeholder="请输入考核名称"
				:pageInfo="pager"
				:listData="tableData"
				searchName="assessName"
				:menuList="['export']"
				:filterList="filterList"
				@menu-click="handleMenuClick"
			>
				<el-table :data="tableData" align="center" ref="multipleTable">
					<el-table-column width="120" align="center"  label="考核编号" prop="assessCode"></el-table-column>
					<el-table-column width="120" align="center"  label="考核名称" prop="assessName"></el-table-column>
					<el-table-column width="120" align="center" label="考核单位" prop="customerName"></el-table-column>
					<el-table-column width="120" align="center" label="考核时间" prop="assessDate"></el-table-column>
					<el-table-column width="120" align="center" label="考核开始时间" prop="startTime"></el-table-column>
					<el-table-column width="120" align="center" label="考核结束时间" prop="endTime"></el-table-column>
					<el-table-column width="120" align="center" label="考核分数" prop="score"></el-table-column>
					<el-table-column width="120" align="center" label="考核结果" prop="assessResult"></el-table-column>
					<el-table-column width="120" align="center" label="操作">
						<template slot-scope="scope">
							<el-button type="text" v-if="scope.row.status=='01'" @click="showEditResult(scope.row)">考核</el-button>
							<el-button type="text" v-if="scope.row.status=='02'" @click="showResult(scope.row)">查看</el-button>
							<el-button type="text" @click="delData(scope.row)">删除</el-button>
						</template>
					</el-table-column>
				</el-table>
			</dataList>
        <editResult ref="editResult" @close="getListData"></editResult>
        <showResult ref="showResult"></showResult>
    </div>
</template>

<script src="./list.js">
</script>
